package org.aicfve.previze.solar.entity;

public class Coordinate {

    double latitude;

    double longitude;

    double height;

    // Getter and Setter

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public void setLatitude(int degrees,int minute,int second){
        this.latitude = degrees + (double)minute / 60 + (double)second / 3600;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public void setLongitude(int degrees,int minute,int second){
        this.longitude = degrees + (double)minute / 60 + (double)second / 3600;
    }

    public double getHeight() {
        return height;
    }

    public void setHeight(double height) {
        this.height = height;
    }
}
